@charset "utf-8";
*{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}


$w:12.42rem;

html{
    height: 100%;
}
body{
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 0.14rem;
}
header{
    width: $w;
    height: 3.84rem;
    >.phone{
        width: $w;
        height: 1.3rem;
        >img{
            width: 100%;
            height: 100%;
        }
    }
    >.find{
        width: $w;
        height: 1.35rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        >img:nth-of-type(1){
            width: 0.6rem;
            height: 0.93rem;
        }
        >img:nth-of-type(2){
            width: 0.55rem;
            height: 0.9rem;
        }
        >img:nth-of-type(3){
            width: 0.55rem;
            height: 0.93rem;
        }
        >.seach{
            width: 8.1rem;
            height: 0.9rem;
            border-radius: 0.5rem;
            background-color: #f3f4f4;
            display: flex;
            justify-content: space-around;
            align-items: center;
            >img:nth-of-type(1){
                width: 0.45rem;
                height: 0.45rem;
            }
            >input{
                width: 5.8rem;
                height: 0.9rem;
                font-size: 0.28rem;
                outline: none;
                border: 0;
                background-color: #f3f4f4;
            }
            >img:nth-of-type(2){
                width: 0.52rem;
                height: 0.45rem;
            }
        }
    }
    >.nav{
        width: $w;
        height: 1.19rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        >h1{
            font-size: 0.38rem;
        }
        >img{
            width: 0.46rem;
            height: 0.25rem;
        }
        >ul{
            width: 8.5rem;
            height: 1.19rem;
            display: flex;
            align-items: center;
            >li{
                width: 1.08rem;
                height: 0.84rem;
                line-height: 0.84rem;
                text-align: center;
                margin-right: 0.2rem;
                font-size: 0.36rem;
                border-radius: 0.1rem;
            }
            >li.active{
                background-color: #c354a4;
                color: #fff;
            }
            >li:last-of-type{
                margin-right: 0rem;
            }
        }

    }
}
main{
    position: relative;
    width: $w;
    height: 100%;
    flex: 1;
    overflow: hidden;
    background-color: #f3f3f3;
    >img{
        position: absolute;
        bottom: 1.3rem;
        left: 0.25rem;
        width: 4.4rem;
        height: 1.25rem;
    }
    >.content{
        position: relative;
        top: 0;
        width: $w;
        min-height: 101%;
        >.topnav{
            position: absolute;
            width: $w;
            height: 100%;
            z-index: 1;
            display: none;
            background-color: rgba($color: #000000, $alpha: 0.2);
            >ul{
                width: $w;
                height: 8.1rem;
                background-color: #fff;
                border-top: 0.01rem solid #ececec;
                >li{
                    float: left;
                    width: 3.08rem;
                    height: 2.68rem;
                    text-align: center;
                    border: 0.01rem solid #ececec;
                    >img{
                        width: 0.8rem;
                        height: 0.7rem;
                        margin-top: 0.8rem;
                        margin-bottom: 0.35rem;
                    }
                    >p{
                        font-size: 0.32rem;
                    }
                }
                >li.active{
                    >p{
                        color: #d24591;
                    }
                }
            }
        }
        >.banner{
            position: relative;
            width: $w;
            height: 6.48rem;
            background: url('../images/banner.jpg')no-repeat center ;
            background-size: 100% 100%;
            >.list1{
                position: absolute;
                bottom: 0;
                width: $w;
                height: 2.72rem;
                overflow: hidden;
                >ul{
                    width: 27rem;
                    height: 2.72rem;
                    display: flex;
                    align-items: center;
                    >li{
                        width: 4.2rem;
                        height: 1.92rem;
                        background-color: #fff;
                        border-radius: 0.15rem;
                        margin-left: 0.25rem;
                        display: flex;
                        >.left{
                            width: 1.9rem;
                            height: 1.92rem;
                            padding: 0.12rem;
                            box-sizing: border-box;
                            >img{
                                width: 100%;
                                height: 100%;
                            }
                        }
                        >.right{
                            width: 2.3rem;
                            height: 1.92rem;
                            padding-left: 0.25rem;
                            box-sizing: border-box;
                            >h1{
                                font-size: 0.4rem;
                                color: red;
                                margin-top: 0.35rem;
                                margin-bottom: 0.28rem;
                            }
                            >del{
                                font-size: 0.3rem;
                                color: #848484;
                            }
                        }
                    }
                }
            }
        }
        >.list2{
            width: $w;
            height: 3.02rem;
            >ul{
                width: 18rem;
                height: 3.02rem;
                display: flex;
                align-items: center;
                >li{
                    width: 1.4rem;
                    text-align: center;
                    margin:0 0.43rem;
                    >img{
                        width: 1.4rem;
                        height: 1.4rem;
                    }
                    >P{
                        font-size: 0.32rem;
                        margin-top: 0.3rem;
                    }
                }
            }
        }
        >.day{
            width: 11.9rem;
            height: 6.08rem;
            margin: auto;
            background-color: #fff;
            border-radius: 0.15rem;
            >.sign{
                width: 100%;
                height: 1.6rem;
                display: flex;
                align-items: center;
                justify-content: center;
                >img{
                    width: 3.65rem;
                    height: 0.6rem;
                }
            }
            >.goods{
                width: 100%;
                height: 4.44rem;
                >ul{
                    width: 100%;
                    height: 4.44rem;
                    display: flex;
                    >li{
                        position: relative;
                        width: 25%;
                        text-align: center;
                        >img:nth-of-type(1){
                            width: 2.42rem;
                            height: 2.42rem;
                        }
                        >img:nth-of-type(2){
                           margin-top: 0.3rem;
                        }
                        >p{
                            position: absolute;
                            bottom: 0.42rem;
                            width: 100%;
                            text-align: center;
                            >span{
                                font-size: 0.32rem;
                                color: red;
                            }
                            >del{
                                font-size: 0.28rem;
                                color: #acacb2;
                                margin-left: 0.1rem;
                            }
                        }
                    }
                    >li:nth-of-type(1) img:nth-of-type(2){
                        width: 1.32rem;
                        height: 0.57rem;
                    }
                    >li:nth-of-type(2) img:nth-of-type(2){
                        width: 1.05rem;
                        height: 0.45rem;
                    }
                    >li:nth-of-type(3) img:nth-of-type(2){
                        width: 1.32rem;
                        height: 0.38rem;
                    }
                    >li:nth-of-type(4) img:nth-of-type(2){
                        width: 1.32rem;
                        height: 0.38rem;
                    }
                }
            }
        }
        >.activity{
            width: 11.9rem;
            height: 4rem;
            margin:0.4rem auto 0;
            display: flex;
            justify-content: space-between;
            >.a-left{
                width: 5.7rem;
                height: 4rem;
                background-color: #fff;
                border-radius: 0.15rem;
                >.atitle{
                    width: 5.7rem;
                    height: 1rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    >img{
                        width: 3.2rem;
                        height: 0.6rem;
                    }
                }
                >.goods{
                    width: 5.7rem;
                    height: 3rem;
                    >ul{
                        width: 5.7rem;
                        height: 3rem;
                        display: flex;
                        justify-content: space-around;
                        >li{
                            text-align: center;
                            width: 2.23rem;
                            height: 3rem;
                            >img{
                                width: 2.22rem;
                                height: 2.24rem;
                            }
                            >P{
                                margin-top: 0.15rem;
                                font-size: 0.28rem;
                            }
                        }
                    }
                }
            }
            >.a-right{
                width: 5.7rem;
                height: 4rem;
                background-color: #fff;
                border-radius: 0.15rem;
                >.atitle{
                    width: 5.7rem;
                    height: 1rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    >img{
                        width: 3.75rem;
                        height: 0.8rem;
                    }
                }
                >.goods{
                    width: 5.7rem;
                    height: 3rem;
                    >ul{
                        width: 5.7rem;
                        height: 3rem;
                        display: flex;
                        justify-content: space-around;
                        >li{
                            text-align: center;
                            width: 2.23rem;
                            height: 3rem;
                            >img{
                                width: 2.22rem;
                                height: 2.24rem;
                            }
                            >P{
                                margin-top: 0.15rem;
                                font-size: 0.28rem;
                            }
                        }
                    }
                }
            }
        }
        >.sift{
            width:$w;
            margin-top: 0.42rem;
            >h1{
                width:$w;
                height: 1.9rem;
                background-color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 0.15rem;
                >img{
                    width: 4.75rem;
                    height: 0.75rem;
                }
            }
            >ul{
                width:$w;
                display: flex;
                flex-wrap: wrap;
                >li{  
                    width:$w;
                    height: 7.6rem;
                    margin-bottom: 0.2rem;
                    display: flex;
                    justify-content: space-around;
                    >section{
                        width: 3.9rem;
                        height: 7.6rem;
                        background-color: #fff;
                        border-radius: 0.15rem;
                        >img{
                            width: 3.9rem;
                            height: 4.92rem;
                        }
                        >h1{
                            font-size: 0.32rem;
                            margin: 0.22rem 0 0.15rem;
                            margin-left: 0.22rem;
                        }
                        >p{
                            font-size: 0.32rem;
                            margin-bottom: 0.35rem;
                            margin-left: 0.22rem;
                            >span{
                                font-size: 0.4rem;
                                color: red;
                            }
                            >del{
                                font-size: 0.32rem;
                                color: #98989e;
                                margin-left: 0.1rem;
                            }
                        }
                    }
                }
            }
        }
    }
   
}


.subnav{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 10.32rem;
    height: 100%;
    background-color: #191f24;
    >.phone{
        width:10.32rem;
        height: 1.3rem;
        >img{
            width: 100%;
            height: 100%;
        }
    }
    >.jiesao{
        width: 9.55rem;
        height: 4.55rem;
        margin: auto;
        border-bottom: 0.01rem solid #313846;
        >ul{
            >li{
                display: flex;
                align-items: center;
                margin-bottom: 0.3rem;
                >img{
                    width: 0.8rem;
                    height: 0.83rem;
                }
                >span{
                    font-size: 0.46rem;
                    color: #fff;
                    margin-left: 0.32rem;
                }
            }
        }
    }
    >.list3{
        width: 9.55rem;
        height: 15.86rem;
        margin: auto;
        >ul{
            width: 9.55rem;
            height: 15.86rem;
            >li{
                width: 25%;
                float: left;
                text-align: center;
                margin-bottom: 0.2rem;
                >img{
                    width: 0.86rem;
                    height: 0.86rem;
                    border-radius: 50%;
                    padding: 0.3rem;
                    border: 0.02rem solid #fff;
                    margin-top: 0.25rem;
                    margin-bottom: 0.28rem;
                }
                >p{
                    font-size: 0.36rem;
                    color: #fff;
                }
            }
        }
    }
    >.centre{
        width:10.32rem;
        height: 1.55rem;
        // background-color: #fff;
        border-top: 0.01rem solid #fff;
        >ul{
            width:10.32rem;
            height: 1.55rem;
            display: flex;
            >li{
                width: 50%;
                border-right: 0.01rem solid #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                >img{
                    width: 0.7rem;
                    height: 0.7rem;
                    margin-right: 0.15rem;
                }
                >span{
                    font-size: 0.36rem;
                    color: #fff;
                }
            }
            >li.active{
                border: 0;
            }
        }
    }
    .line{
        width: 4.45rem;
        height: 0.15rem;
        background-color: #d7d7d7;
        border-radius:0.2rem;
        margin: 0.5rem auto;
    }
}